To permanently change the values of the image's palette, you can modify the RGB values at a specified index in the image's stored palette, as follows:
-
Set ProcessImageID property to the image you wish to query or modify.
-
Call DIBGetPalIndex and DIBSetPalIndex to get and set the RGB value for a specified palette entry in the image's palette.
The Undo method does not undo changes to the image palette. |
It is also possible to apply a different palette to the display or print DC without modifying the image's palette. See Display Image and Print an Image for more information. |
Undo a Processing Action
Annotate an Image
Print an Image
Draw Graphics
Specify a Part of the Image to Process
Modify Image Size & Orientation
Apply Image Effects
Merge Images
Perform Pixel-Level Modifications
Modify Alpha Channel
Correct Color & Contrast
Cleanup Images
Modify Image Metadata
Modify Image Palette
Annotate an Image
Print an Image
Draw Graphics
Specify a Part of the Image to Process
Modify Image Size & Orientation
Apply Image Effects
Merge Images
Perform Pixel-Level Modifications
Modify Alpha Channel
Correct Color & Contrast
Cleanup Images
Modify Image Metadata
Modify Image Palette